package com.chaoshan;

import io.swagger.annotations.Api;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @DATE: 2022/04/28 17:37
 * @Author: 小爽帅到拖网速
 */
@SpringBootApplication
@EnableSwagger2
public class DemoApplication {
  public static void main(String[] args) {
    ConfigurableApplicationContext applicationContext = SpringApplication.run(DemoApplication.class, args);
    // System.out.println(applicationContext.getBean("redisTemplate").toString());
    // System.out.println(applicationContext.getBean("hashOperations").toString());
    // for (String beanDefinitionName : applicationContext.getBeanDefinitionNames()) {
    //   System.out.println(beanDefinitionName);
    // }
  }
}
